The first thing that you want to say is:
    import Gcrypt

That'll give you access to some classes and fuctions:

        h = Hash(algo)

algo must be a string containing one of the following:
    SHA1, RMD160, MD5, TIGER

        h.Add(data)
data is some data you want to hash. You can eithor add
    all the data in one call, or split large stuff up
    and add it in multiple calls.

        hash = h.Hash()
this returns the binary hash of all the data added

        hash = h.HexHash()
this returns a hexidecimal version of the hash
